<?php

/**
 * 默认控制器
 */
class Controller_Default extends Controller_Abstract
{
    function actionIndex()
    {
        $role = Role::find('role_id=?',1)->one()->query('call_columns');
//        $role->call_columns;
//        dump($role);
            
        $user = Helper_RBAC::get('user');
        //        dump($user->aclRoles());
        $this->_view['user'] = $user;
    }
}

